<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: 沈银
  Date: 2017/11/14
  Time: 21:47
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<HTML>
<HEAD>
    <c:set var="root" value="${pageContext.request.contextPath}"/>
    <meta http-equiv="Content-Language" content="zh-cn">
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <link href="${root}/css/Style1.css" type="text/css" rel="stylesheet"/>
</HEAD>

<body>
<form id="userAction_save_do" name="Form1" action="${root}/editCategorySecond" method="post">
    &nbsp;
    <%--隐藏的csid--%>
    <input type="hidden" name="csid" value="${cs.csid}">
    <table cellSpacing="1" cellPadding="5" width="100%" align="center" bgColor="#eeeeee" style="border: 1px solid #8ba7e3" border="0">
        <tr>
            <td class="ta_01" align="center" bgColor="#afd1f3" colSpan="4"
                height="26">
                <strong><STRONG>修改二级分类</STRONG>
                </strong>
            </td>
        </tr>

        <tr>
            <td width="18%" align="center" bgColor="#f5fafe" class="ta_01">
                二级分类名称：
            </td>
            <td class="ta_01" bgColor="#ffffff" colspan="3">
                <input type="text" name="csname" value="${cs.csname}" id="userAction_save_do_logonName" class="bg"/>
            </td>
        </tr>

        <tr>
            <td width="18%" align="center" bgColor="#f5fafe" class="ta_01">
                一级分类：
            </td>
            <td class="ta_01" bgColor="#ffffff" colspan="3">
                <select name="cid">
                    <c:forEach var="c" items="${clist}">
                        <option value="${c.cid}" <c:if test="${c.cid eq cs.category.cid}">selected</c:if> >${c.cname}</option>
                    </c:forEach>
                </select>
            </td>
        </tr>

        <tr>
            <td class="ta_01" style="width:100%;" align="center"
                bgColor="#f5fafe" colSpan="4">
                <button type="submit" id="userAction_save_do_submit" value="确定" class="button_ok">
                    &#30830;&#23450;
                </button>

                <FONT face="宋体">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</FONT>
                <button type="reset" value="重置" class="button_cancel">&#37325;&#32622;</button>

                <FONT face="宋体">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</FONT>
                <INPUT class="button_ok" type="button" onclick="history.go(-1)" value="返回"/>
                <span id="Label1"></span>
            </td>
        </tr>
    </table>
</form>
</body>
</HTML>

